package com.bupt.fmmall.service.Impl;

import com.bupt.fmmall.dao.ReplyDao;
import com.bupt.fmmall.entity.Reply;
import com.bupt.fmmall.service.ReplyService;
import com.bupt.fmmall.vo.ResultVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ReplyServiceImpl implements ReplyService {
    @Resource
    ReplyDao replyDao;
    @Override
    public void adminSentReply(Reply reply) {

    }

    @Override
    public ResultVO customerViewReply(int complaintId) {
        Reply reply=new Reply();
        reply=replyDao.selectReplyByComplaintId(complaintId);
        return new ResultVO(200,"success",reply);
    }

    @Override
    public void customerDeleteReply(int replyId) {

    }
}
